8)What is method overriding? If a subclass provides a specific implementation of a method that is already provided by its parent class, it is known as Method Overriding. It is used for runtime polymorphism and to provide the specific implementation of the method. Eg: class Vehicle{ void run(){System.out.println(“Vehicle is running”); }} class Bike2 extends Vehicle{ void run(){System.out.println(“Bike is running safely”);} public static void main(String args[]){ Bike2 obj = new Bike2(); obj.run(); } Output: Bike […]
1) What is constructor? Constructor is just like a method that is used to initialize the state of an object. It is invoked at the time of object creation. eg: class Student4{ int id; String name; Student4(int i,String n){ id = i; name = n; } void display(){System.out.println(id+” “+name);} public static void main(String args[]){ Student4 s1 = new Student4(111,”Karan”); Student4 s2 = new Student4(222,”Aryan”); s1.display(); s2.display(); } } Output: 111 Karan 222 Aryan 2) What is Inheritance? Inheritance […]
There is perhaps no better strategic change in IT than DevOps which has happened in the last few years. It is a fact that none could insulate an enterprise or technology from change, It always happen but the pace of change becomes huge and magnanimous when more people collaborate. The remark of Stephen Mayner, Senior Program […]
Mr. Szen John, Corporate Trainer, IPSR Solutions Ltd. (RHC {SA, E, VA, HCS, HCM, SH, A – Level II}), delivering Cloud Workshop at IPSR Cochin South.
What are the advantages of Distributed Processing? Security/Encapsulation Distributed database Faster Problem solving Security through redundancy Collaborative Processing What are the criteria necessary for an effective and efficient network? Performance: It can be measured in many ways, including transmit time and response time. Reliability: It is measured by frequency of failure, the time it takes […]
‘Dev-Ops and Cloud’ is rated as twin revolutions that spans the entire IT sectors, with terrific growth potential and career opportunities in the opens source market. It is considered that Dev-Ops will emerge as the key strategy of about 25% of the global 2000 organization by the end of 2016. The Cloud with significant characteristics […]