Java Method Chaining Importing and extending classes Methods

preview_player
Показать описание
Hi everyone, In this video we'll learn about method chaining in Java along with extending and importing classes.
Method chaining : generally combining output of multiple methods at a time for this you need to mention class after access modifier in method declaration and also public variables both in method arguments and class block also.
Importing one class to another : generally we'll use methods of first class to second class or packages so we can use importing methods.
Extending classes : generally we use extends keyword for using methods of first class to the next class.
Рекомендации по теме