Home

Welcome to My New Blogging Blog

Inheritance

INHERITANCE Its just simply say childs can use or access their parent property. It means a child class object can access the super class methods.There is a important key word used in this concept is extends.Ex: class child extends father {} It represents IS-A relationshipex:Dhoni IS-A Cricketer,R15 IS-A Bike. Uses are code reusability, method overriding.…

System.in,System.out and Scanner

System.in is an InputStream which is typically connected to keyboard input of console programs. System.in is not used as often since data is commonly passed to a command line Java application via command line arguments, or configuration files. In applications with GUI the input to the application is given via the GUI. At times you…


Follow My Blog

Get new content delivered directly to your inbox.

Design a site like this with WordPress.com
Get started