Advise for Freshers
Java OOPs are very easy to understand and practice due to avoidance of many confusing concepts of C++.
I feel better if you follow the same order of reading, as is in the following links, to have easy go.
- A) General Programs
- OOPS concepts – introduction
- Java Naming Conventions – Readability
- Basic Class Structure, Compilation and Execution
- Using Local and Instance Variables
- Using Methods and Method Overloading
- Three Great Principles – Data Binding, Data Hiding, Encapsulation
- Using Variables from Methods
- Using this Keyword
- Unassigned Local and Instance Variables
- static Keyword – Philosophy
- Static Methods, Static Variables
- Composition – “has-a” Relationship
- Inheritance
- Types of Inheritance
- Java Extends
- Java Extend Multiple Classes
- Method Overriding
- Member Hiding – super Keyword
- Constructors and Constructor overloading
- Java Constructor Properties
- Many Meanings of final Keyword – In and Outs
- Abstract Classes
- Interfaces – Partial implementation of Multiple Inheritance
- Java Extends and Implements
- Java Reference Variables – Objects – Anonymous objects
- Access Specifiers & Access Modifiers
- Rules of Access Specifiers in Method Overriding
- Access Modifiers – Meanings
- Java Private variable accessibility (Private access specifier)
- Dynamic Polymorphism
- Avoid confusion with static vs non-static
- B) Deeper Concepts and Programs – Increases coding skills
- Abstract class constructor & Interface abstract
- Extends Implements
- Play with Implements
- Why advised Public methods and Private Variables
- Call by value and Call by reference in Java
- Java Create Object
- Instantiate in Java
- C) General Concepts – Important for Interviews
- Aggregation and Composition
- Extends vs Implements
- What is Java Constructor?
- How to use a Java Constructor?
- How to call a Constructor from another Constructor?
- Access Specifier vs Access Modifier
- Is it possible abstract method to be static also?
- Can we instantiate an abstract class?
- Can you create instance of Interface?
- Explain public static void main(String args[])?
- Can a constructor be static?
- Can a constructor be private?
- Can you overload main()
- Abstract class with main(), is it possible?
- Why Java does not support Multiple Inheritance?
- Why Java does not support operator overloading?
- Why Java does not support Pointers?
- Interfaces inheritance – extends or implements
- Why interfaces are required?
- Class vs Interface
- Abstract class vs Interface
- How many types of classes exist in Java?
- Java Classes and Interfaces
- What is a class in Java?
- Classes and Objects in Java
sir,
Encapsulation and the conventions pages are unavailable in the above oops concepts . can please do share that to my mail id.
thanking you sir.
Check this link for Encapsulation: https://way2java.com/oops-concepts/three-great-principles-data-binding-data-hiding-encapsulation/
Check for Conventions: https://way2java.com/oops-concepts/java-naming-conventions-readability/
Exercise 15 and 24 are same which are named as :15. Java Extend Multiple Classes, 24. Java Extends and Implements. I don’t know if it is an error or you intentionally left them same. BTW Thanks for providing fantastic resource for JAVA.
They are repeated. One is deleted. As per Google SEO, many titles are renamed, and in this process, it is repeated. Thank you for pointing. You are following keenly. Good, keep it up.
SIR, I have completed core java now. Right now i am in 3rd year of my btech. Should i start advance java or I should move to android? Can i make android apps by using advance java?
Join advanced Java in 3rd year second semester holidays. By the time you come to the project in 4th year you must be ready with complete Java so that you can do final year project in Java. Do not join Android, it is less paid job.
sir,it means a java developer(core +advance) earns more than android /php/.net developer ?
Yes, definitely (do not include .net).
Sir,Can I learn advance from this website? Or should i join any institute? I live in delhi.
At least to learn the execution, you must join one institute.
Learning through web sites takes long time to understand. Learning through sites is supplementary to institute learning.
Even though I know car driving, but I send my son to a driving school because they practice in a systematic order of steps in a easy understanding way.
Hi,
As we know abstraction means hiding the implemention and showing the functionality.
But we can achive abstraction through interface 100% and through abstract class 0-100%.
but in interface there is no implementation in method i.e every method is blank.
So
Please explain me How can we achive abstraction through interface 100% and through abstract class 0-100% with an example ?
Thankd & Regards
Bikash
In abstraction code is given and you cannot see. In interface, code is not given for methods.
What is the difference between a method and function irrespective of all languages?
Functionally both are same used for reusability.