Home
Blog
Blog - HOME
Technical
Search Engine Optimization
Data Structure
Image Processing
C Programming
.NET
SQL Server
TCS Preparation
Miscellaneous
Non Technical
Top 10
Life Lesson
Quotes
English Quotes
Bangla Quotes
Bangla to English Translations
Bangla Kobita
Bangla Whatsapp Story
Tutorials
Tutorial - HOME
CS Core Subjects
Computer Fundamentals
Data Structure Tutorials
DBMS Tutorials
SQL Tutorials
Programming Language
C Tutorials
Java Tutorials
C# Tutorials
R Tutorials
X++ Tutorials
PHP Tutorials
Python Tutorials
Web Design
HTML Tutorials
Bootstrap Tutorials
JavaScript Tutorials
Vue JS Tutorials
Programs
Programs - Java
Programs - C Language
Programs - Python Language
Programs - C# Language
Programs - R Programs
Programs - Data Structure
Programs - HTML Programs
Programs - JavaScript
Program - HOME
QnA
Chapter Wise - C Program Q and A
Chapter Wise - Java Q and A
Chapter Wise - C# Q and A
Chapter Wise - Data Structure Q and A
Chapter Wise HTML Q and A
Chapter Wise - JavaScript Q and A
Chapter Wise - SQL Q and A
Chapter Wise - DBMS Q and A
MCQ - English
Effective - English
MCQ - Python Language
MCQ - C Language
MCQ - Java Language
MCQ - DBMS
MCQ - PHP
MCQ - Data Structure
GK
GK - HOME
Basic GK
General Science
Honours and Awards
Inventions
World Organisations
Important Days
World Geography
Indian Geography
Indian History
Computer Awareness
MS excel, office etc.
Problems on Train
Video
Computer Awareness
C Program - Bangla
Microsoft Excel- Bangla
Login
Login - Dashboard
Login - Here
About
Advertisement
Terms and Conditions
Guest Post Rule
Menu
Login and Register
×
Go to Dashboard
Logged In Successfully!
×
×
Check your Email for the OTP
Login
Registration
Email
Password
Name
Email
Phone
Country Code
Afghanistan
Albania
Algeria
American Samoa
Andorra
Angola
Anguilla
Antarctica
Antigua and Barbuda
Argentina
Armenia
Aruba
Australia
Austria
Azerbaijan
Bahamas
Bahrain
Bangladesh
Barbados
Belarus
Belgium
Belize
Benin
Bermuda
Bhutan
Bolivia
Bosnia and Herzegovina
Botswana
Bouvet Island
Brazil
British Indian Ocean Territory
Brunei Darussalam
Bulgaria
Burkina Faso
Burundi
Cambodia
Cameroon
Canada
Cape Verde
Cayman Islands
Central African Republic
Chad
Chile
China
Christmas Island
Cocos (Keeling) Islands
Colombia
Comoros
Congo
Congo, the Democratic Republic of the
Cook Islands
Costa Rica
Cote D'Ivoire
Croatia
Cuba
Cyprus
Czech Republic
Denmark
Djibouti
Dominica
Dominican Republic
Ecuador
Egypt
El Salvador
Equatorial Guinea
Eritrea
Estonia
Ethiopia
Falkland Islands (Malvinas)
Faroe Islands
Fiji
Finland
France
French Guiana
French Polynesia
French Southern Territories
Gabon
Gambia
Georgia
Germany
Ghana
Gibraltar
Greece
Greenland
Grenada
Guadeloupe
Guam
Guatemala
Guinea
Guinea-Bissau
Guyana
Haiti
Heard Island and Mcdonald Islands
Holy See (Vatican City State)
Honduras
Hong Kong
Hungary
Iceland
India
Indonesia
Iran, Islamic Republic of
Iraq
Ireland
Israel
Italy
Jamaica
Japan
Jordan
Kazakhstan
Kenya
Kiribati
Korea, Democratic People's Republic of
Korea, Republic of
Kuwait
Kyrgyzstan
Lao People's Democratic Republic
Latvia
Lebanon
Lesotho
Liberia
Libyan Arab Jamahiriya
Liechtenstein
Lithuania
Luxembourg
Macao
Macedonia, the Former Yugoslav Republic of
Madagascar
Malawi
Malaysia
Maldives
Mali
Malta
Marshall Islands
Martinique
Mauritania
Mauritius
Mayotte
Mexico
Micronesia, Federated States of
Moldova, Republic of
Monaco
Mongolia
Montserrat
Morocco
Mozambique
Myanmar
Namibia
Nauru
Nepal
Netherlands
Netherlands Antilles
New Caledonia
New Zealand
Nicaragua
Niger
Nigeria
Niue
Norfolk Island
Northern Mariana Islands
Norway
Oman
Pakistan
Palau
Palestinian Territory, Occupied
Panama
Papua New Guinea
Paraguay
Peru
Philippines
Pitcairn
Poland
Portugal
Puerto Rico
Qatar
Reunion
Romania
Russian Federation
Rwanda
Saint Helena
Saint Kitts and Nevis
Saint Lucia
Saint Pierre and Miquelon
Saint Vincent and the Grenadines
Samoa
San Marino
Sao Tome and Principe
Saudi Arabia
Senegal
Serbia and Montenegro
Seychelles
Sierra Leone
Singapore
Slovakia
Slovenia
Solomon Islands
Somalia
South Africa
South Georgia and the South Sandwich Islands
Spain
Sri Lanka
Sudan
Suriname
Svalbard and Jan Mayen
Swaziland
Sweden
Switzerland
Syrian Arab Republic
Taiwan, Province of China
Tajikistan
Tanzania, United Republic of
Thailand
Timor-Leste
Togo
Tokelau
Tonga
Trinidad and Tobago
Tunisia
Turkey
Turkmenistan
Turks and Caicos Islands
Tuvalu
Uganda
Ukraine
United Arab Emirates
United Kingdom
United States
United States Minor Outlying Islands
Uruguay
Uzbekistan
Vanuatu
Venezuela
Viet Nam
Virgin Islands, British
Virgin Islands, U.s.
Wallis and Futuna
Western Sahara
Yemen
Zambia
Zimbabwe
Password
Class, Object and Methods in java
Programs
Chapter
Class, Object and Methods in java
Overview of Java Language
6
DataTypes in java
8
Variables in java
13
Operators in java
25
Decision Making in java
13
Decision Making and Looping in java
39
Class, Object and Methods in java
90
Array in java
8
Inheritance in java
2
Abstarct class and Methods in java
8
Polymorphism in Java
9
OOPs concept more
48
Number Class in java
60
Character Class in java
12
String in java
32
StringBuffer Class Methods
1
Read tutorials from
Class, Object and Methods in java
Program List:
1. Runtime Polymorphism ( method overriding ) with Multilevel Inheritance
2. Instance variable and static variable comparison using program
3. Instance variable and static variable comparison using program
4. Instance variable and static variable comparison using program
5. Class and Object
6. Object and Class Example: main within class
7. Object and Class Example: main outside class
8. Class and Object Example: Initialization through reference
9. create multiple objects and store information in it through reference variable.
10. Class and Object Example: Initialization through method
11. Class and Object Example: Initialization through constructor
12. Class and Object Example: Area of Rectangle
13. ways to create an object in Java Example 1
14. ways to create an object in Java Example 2
15. Creating multiple objects by one type only
16. Example for understanding class object and method
17. Method in java, Simple main method Example
18. Method in java, Simple main method Example 2
19. Method in java, Simple method Example other than main
20. Method in java, Simple void method Example other than main
21. Method in java, Passing Parameters by Value
22. Method Overriding in Java Example 3
23. Default constructor in java
24. Default constructor in java example 2
25. Default constructor in java, constructor present in another class
26. Parameterized Constructor, constructor present in another class
27. Parameterized Constructor, constructor present in same class
28. Parameterized Constructor, constructor present in same class, with method
29. Parameterized Constructor, constructor present in same class, with method example 2
30. Parameterized Constructor, constructor present in same class, with method usefull example
31. Constructor Overloading in Java
32. Constructor Overloading in Java, Important Example
33. Static Method and Instance Method in Java
34. Copy of a Constructor, By constructor and object
35. Copy of a Constructor, without Constructor by using object
36. Constructor Chaining in Java
37. Variable Hiding in java, intro for this keyword
38. this keyword, Variable Hiding in java
39. this Keyword with Constructor in java, overloaded constructor in the same Class
40. this Keyword with Method in java, Methods to call another Method from same Class.
41. Understanding the problem without this keyword, this keyword to refer current class instance variable.
42. Solution of the previous problem, this keyword to refer current class instance variable
43. Solution of the previous problem,different name instance variable and local variable
44. this keyword to invoke current class method
45. this() constructor to invoke current class constructor
46. this() constructor to invoke current class constructor, Another important Example
47. this keyword to pass as argument in the constructor call
48. this() constructor call, Real Utilization
49.
Note:
Call to this() must be the first statement in constructor.
50. this keyword to pass as an argument in the method
51. this keyword can be used to return current class instance
52. prove that this keyword refers to the current class instance variable
53. this keyword as Method parameter, Using Inheritance
54. static variable (also known as class variable)
55. static variable with constructor and method
56. counter without static variable, problem
57. counter with static variable, problem solved
58. static and instance variable, how to access
59. static Method and variable in java, how to access methods and variables
60. static Method and variable in java, Important Example
61. static Method and variable in java, static variable increment using methods
62. Simple Calculation using static method
63. static block in java
64. static block in java,we can execute a program without main() method
65. Static Nested Class in java
66. Static keyword in java, by inheritance
67. Single Inheritance in java
68. Single Inheritance in java Example 2
69. Multilevel Inheritance in java
70. Hierarchical Inheritance in java
71. multiple inheritance is not supported in java
72. Method Overriding in Java
73. Method Overriding in Java Example 2
74. Java Runtime Polymorphism Example: Profession
75.
super
can be used to refer immediate parent class instance variable.
76.
super
keyword can be used to invoke parent class method
77.
super
keyword can be used to invoke parent class method: Example: Animal class
78.
super
keyword can be used to invoke parent class constructor
79.
super
() is added in each class constructor automatically by compiler if there is no
super
()
80.
super
() keyword important behavior
81.
final variable
: you can not change the value of final variable
82.
final method
: If you make any method as final, you cannot override it.
83.
final class
: If you make any class as final, you cannot extend it.
84.
final method
: final method is inherited but you cannot override it
85.
final variable
: we can initialize blank final variable, but only in constructor.
86.
static blank final variable
:that is not initialized at the time of declaration is known as static blank final variable. It can be initialized only in static block.
87.
final parameter
:If you declare any parameter as final, you cannot change the value of it.
88. Java Runtime Polymorphism Example: Animal
89.
Note:
Runtime polymorphism can't be achieved by data members.
90. Fibonacci Series using Recursion
Top