<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7284240937102715207</id><updated>2024-09-14T09:07:39.610-07:00</updated><category term="Java"/><title type='text'>Techno-Heaven</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://tech4u-tech.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7284240937102715207/posts/default'/><link rel='alternate' type='text/html' href='http://tech4u-tech.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>WebGeek</name><uri>http://www.blogger.com/profile/15709794071994627121</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8lqNxWxN1qejReTLTgNwieKGHRrjufBZp8WPcg2Z6r-xEc582Cdx4_7kYlZaecRNXmxn4MB37XtVOqhN8qs-n-XKZBLqvFu7lMciGj2K-DsUJpQ5Y3MNBEf1l12a0Bw/s220/maxresdefault.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>6</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7284240937102715207.post-5421166255399999591</id><published>2016-07-09T02:30:00.002-07:00</published><updated>2016-07-09T02:51:07.419-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><title type='text'>Few Java interview questions</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;tr_bq&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;1.What are the principle of OOPS?&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
There are four principles:&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Abstraction&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Polymorphism&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Inheritance&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Encapsulation&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;2.What is Abstraction?&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Abstraction refers to the act of representing essential features without including the background details or explanations.&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;3.What is Encapsulation?&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Encapsulation is a technique used for hiding the properties and behaviors of an object and allowing outside access only as appropriate. It prevents other objects from directly altering or accessing the properties or methods of the encapsulated object.&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;4.What is the difference between abstraction and encapsulation?&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Abstraction focuses on the outside view of an object (i.e. the interface) Encapsulation (information hiding) prevents clients from seeing it’s inside view, where the behavior of the abstraction is implemented.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Abstraction solves the problem in the design side while Encapsulation is the Implementation.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Encapsulation is the deliverables of Abstraction. Encapsulation barely talks about grouping up your abstraction to suit the developer needs.&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;5.What is Inheritance?&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Inheritance is the process by which objects of one class acquire the properties of objects of another class.&lt;/div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;A class that is inherited is called a superclass.&lt;/li&gt;
&lt;li&gt;The class that does the inheriting is called a subclass.&lt;/li&gt;
&lt;li&gt;Inheritance is done by using the keyword extends.&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
The two most common reasons to use inheritance are:&lt;/div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;To promote code reuse&lt;/li&gt;
&lt;li&gt;To use polymorphism&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;6.What is Polymorphism?&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Polymorphism is briefly described as &quot;one interface, many implementations.&quot; Polymorphism is a characteristic of being able to assign a different meaning or usage to something in different contexts - specifically, to allow an entity such as a variable, a function, or an object to have more than one form.&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;7.How does Java implement polymorphism?&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
(Inheritance, Overloading and Overriding are used to achieve Polymorphism in java).&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Polymorphism manifests itself in Java in the form of multiple methods having the same name.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
In some cases, multiple methods have the same name, but different formal argument lists (overloaded methods).&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
In other cases, multiple methods have the same name, same return type, and same formal argument list (overridden methods).&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;8.Explain the different forms of Polymorphism.&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
There are two types of polymorphism one is Compile time polymorphism and the other is run time polymorphism. Compile time polymorphism is method overloading. Runtime time polymorphism is done using inheritance and interface.&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;9.What is runtime polymorphism or dynamic method dispatch?&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
In Java, runtime polymorphism or dynamic method dispatch is a process in which a call to an overridden method is resolved at runtime rather than at compile-time. In this process, an overridden method is called through the reference variable of a superclass. The determination of the method to be called is based on the object being referred to by the reference variable.&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;10.What is Dynamic Binding?&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Binding refers to the linking of a procedure call to the code to be executed in response to the call. Dynamic binding (also known as late binding) means that the code associated with a given procedure call is not known until the time of the call at run-time. It is associated with polymorphism and inheritance.&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;11.What is method overloading?&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Method Overloading means to have two or more methods with same name in the same class with different arguments. The benefit of method overloading is that it allows you to implement methods that support the same semantic operation but differ by argument number or type.&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;12.What is method overriding?&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Method overriding occurs when sub class declares a method that has the same type arguments as a method declared by one of its superclass. The key benefit of overriding is the ability to define behavior that’s specific to a particular subclass type.&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;13.What are the differences between method overloading and method overriding?&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
1)&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Method overloading is used to increase the readability of the program.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Method overriding is used to provide the specific implementation of the method that is already provided by its super class.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
2)&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Method overloading is performed within class.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Method overriding occurs in two classes that have IS-A (inheritance) relationship.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
3)&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
In case of method overloading, parameter must be different.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
In case of method overriding, parameter must be same.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
4)&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Method overloading is the example of compile time polymorphism.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Method overriding is the example of run time polymorphism.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
5)&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
In java, method overloading can&#39;t be performed by changing return type of the method only. Return type can be same or different in method overloading. But you must have to change the parameter.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Return type must be same or covariant in method overriding.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Java Method Overloading example&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
class OverloadingExample{  &lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
static int add(int a,int b){return a+b;}  &lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
static int add(int a,int b,int c){return a+b+c;}  &lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
}&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Java Method Overriding example&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
class Animal{  &lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
void eat(){System.out.println(&quot;eating...&quot;);}  &lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
}  &lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
class Dog extends Animal{  &lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
void eat(){System.out.println(&quot;eating bread...&quot;);}  &lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
}  &lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;14.Can overloaded methods be override too?&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Yes, derived classes still can override the overloaded methods. Polymorphism can still happen. Compiler will not binding the method calls since it is overloaded, because it might be overridden now or in the future.&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;15.Is it possible to override the main method?&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
NO, because main is a static method. A static method can&#39;t be overridden in Java.&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;16.How to invoke a superclass version of an Overridden method?&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
To invoke a superclass method that has been overridden in a subclass, you must either call the method directly through a superclass instance, or use the super prefix in the subclass itself. From the point of the view of the subclass, the super prefix provides an explicit reference to the superclass&#39; implementation of the method.&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;17.What is super?&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
super is a keyword which is used to access the method or member variables from the superclass. If a method hides one of the member variables in its superclass, the method can refer to the hidden variable through the use of the super keyword. In the same way, if a method overrides one of the methods in its superclass, the method can invoke the overridden method through the use of the super keyword.&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;18.How do you prevent a method from being overridden?&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
To prevent a specific method from being overridden in a subclass, use the final modifier on the method declaration, which means &quot;this is the final implementation of this method&quot;, the end of its inheritance hierarchy.&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;19.What is an Interface?&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
An interface is a description of a set of methods that conforming implementing classes must have.&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;20.Can we instantiate an interface?&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
You can’t instantiate an interface directly, but you can instantiate a class that implements an interface.&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;21.Can we create an object for an interface?&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Yes, it is always necessary to create an object implementation for an interface. Interfaces cannot be instantiated in their own right, so you must write a class that implements the interface and fulfill all the methods defined in it.&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;22.Do interfaces have member variables?&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Interfaces may have member variables, but these are implicitly public, static, and final- in other words, interfaces can declare only constants, not instance variables that are available to all implementations and may be used as key references for method arguments for example.&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;23.What modifiers are allowed for methods in an Interface?&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Only public and abstract modifiers are allowed for methods in interfaces.&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;24.What is a marker interface?&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Marker interfaces are those which do not declare any required methods, but signify their compatibility with certain operations. The java.io.Serializable interface and Cloneable are typical marker interfaces. These do not contain any methods, but classes must implement this interface in order to be serialized and de-serialized.&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;25.What is an abstract class?&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Abstract classes are classes that contain one or more abstract methods. An abstract method is a method that is declared, but contains no implementation.&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;26.Can we instantiate an abstract class?&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
An abstract class can never be instantiated. Its sole purpose is to be extended (subclassed).&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;27.What are the differences between Interface and Abstract class?&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJptvVuZ6UbHMvqWdcvls7RKyZg-UNHlbil8EoCkERYbKdPm0cmUYFIw4YZA8oLQEmg0dhHsaOJhh02N05yfMCBIifxn-NNCeoQ0iTKqWc7_x_XheXauTEonAK86K9Jpy0knWHC3k8q2s/s1600/Ci5Wx.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJptvVuZ6UbHMvqWdcvls7RKyZg-UNHlbil8EoCkERYbKdPm0cmUYFIw4YZA8oLQEmg0dhHsaOJhh02N05yfMCBIifxn-NNCeoQ0iTKqWc7_x_XheXauTEonAK86K9Jpy0knWHC3k8q2s/s1600/Ci5Wx.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp;Interfaces are slow as it requires extra indirection to find corresponding method in the actual class.&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;28.When should I use abstract classes and when should I use interfaces?&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
You see that something in your design will change frequently.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
If various implementations only share method signatures then it is better to use Interfaces.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
you need some classes to use some methods which you don&#39;t want to be included in the class, then you go for the interface, which makes it easy to just implement and make use of the methods defined in the interface.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Use Abstract Class when…&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
If various implementations are of the same kind and use common behavior or status then abstract class is better to use.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
When you want to provide a generalized form of abstraction and leave the implementation task with the inheriting subclass.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Abstract classes are an excellent way to create planned inheritance hierarchies. They&#39;re also a good choice for nonleaf classes in class hierarchies.&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;29.When you declare a method as abstract, can other nonabstract methods access it?&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Yes, other nonabstract methods can access a method that you declare as abstract.&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;30.Can there be an abstract class with no abstract methods in it?&lt;/b&gt;&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Yes, there can be an abstract class without abstract methods.&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://tech4u-tech.blogspot.com/feeds/5421166255399999591/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7284240937102715207/5421166255399999591' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7284240937102715207/posts/default/5421166255399999591'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7284240937102715207/posts/default/5421166255399999591'/><link rel='alternate' type='text/html' href='http://tech4u-tech.blogspot.com/2016/07/few-java-interview-questions.html' title='Few Java interview questions'/><author><name>WebGeek</name><uri>http://www.blogger.com/profile/15709794071994627121</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8lqNxWxN1qejReTLTgNwieKGHRrjufBZp8WPcg2Z6r-xEc582Cdx4_7kYlZaecRNXmxn4MB37XtVOqhN8qs-n-XKZBLqvFu7lMciGj2K-DsUJpQ5Y3MNBEf1l12a0Bw/s220/maxresdefault.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJptvVuZ6UbHMvqWdcvls7RKyZg-UNHlbil8EoCkERYbKdPm0cmUYFIw4YZA8oLQEmg0dhHsaOJhh02N05yfMCBIifxn-NNCeoQ0iTKqWc7_x_XheXauTEonAK86K9Jpy0knWHC3k8q2s/s72-c/Ci5Wx.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7284240937102715207.post-2735212983565234334</id><published>2016-07-08T11:17:00.001-07:00</published><updated>2016-07-09T02:54:14.603-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><title type='text'>Arraylist vs Vector in Java</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Vector , ArrayList classes are implemented using dynamically re-sizable  array providing fast random access and fast list traversal very much like using an ordinary array . ArrayList  support dynamic arrays that can grow as needed that is ArrayList can be dynamically increased or decreased in size .&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;1.  Synchronization and Thread-Safe&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
Vector is  synchronized while ArrayList is not synchronized  . Synchronization and thread safe means at a time only one thread can access the code .In Vector class all the methods are synchronized .That&#39;s why the Vector object is already synchronized when it is created .&lt;/blockquote&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;2.  Performance&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Vector is slow as it is thread safe . In comparison ArrayList is fast as it is non synchronized . Thus     in ArrayList two or more threads  can access the code at the same time  , while Vector is limited to one thread at a time.&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;3. Automatic Increase in Capacity&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
A Vector defaults to doubling size of its array . While when you insert an element into the ArrayList , it increases its array size by 50%.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
By default ArrayList size is 10 . It checks whether it reaches the       last  element then it will create the new array ,copy the new data of last array to new array ,then old array     is garbage collected by the Java Virtual Machine (JVM) . &lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;4. Set Increment Size&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
ArrayList does not define the increment size . Vector defines the increment size .&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
You can find the following method in Vector Class&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
public synchronized void setSize(int i) { //some code  }&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
There is no setSize() method or any other method in ArrayList which can manually set the increment size.&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;5. Enumerator&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Other than Hashtable ,Vector is the only other class which uses both Enumeration and Iterator .While ArrayList can only use Iterator for traversing an ArrayList .&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;6.  Introduction in Java &lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
java.util.Vector  class was there in java since the very first version of the java development kit (jdk).&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
java.util.ArrayList  was introduced in java version 1.2 , as part of Java Collections framework . In java version 1.2 , Vector class has been refactored to implement the List Inteface .&lt;/div&gt;
&lt;/blockquote&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://tech4u-tech.blogspot.com/feeds/2735212983565234334/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7284240937102715207/2735212983565234334' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7284240937102715207/posts/default/2735212983565234334'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7284240937102715207/posts/default/2735212983565234334'/><link rel='alternate' type='text/html' href='http://tech4u-tech.blogspot.com/2016/07/arraylist-vs-vector-in-java.html' title='Arraylist vs Vector in Java'/><author><name>WebGeek</name><uri>http://www.blogger.com/profile/15709794071994627121</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8lqNxWxN1qejReTLTgNwieKGHRrjufBZp8WPcg2Z6r-xEc582Cdx4_7kYlZaecRNXmxn4MB37XtVOqhN8qs-n-XKZBLqvFu7lMciGj2K-DsUJpQ5Y3MNBEf1l12a0Bw/s220/maxresdefault.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7284240937102715207.post-1464506047491439280</id><published>2009-02-04T20:11:00.000-08:00</published><updated>2016-07-09T02:55:45.768-07:00</updated><title type='text'>INTERNET PROTOCOLS</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;table border=&quot;0&quot; style=&quot;margin-left: 0px; margin-right: 0px; text-align: left;&quot;&gt;&lt;tbody&gt;
&lt;tr align=&quot;justify&quot;&gt; &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
The complex communications infrastructure of the Internet consists of its hardware components and a system of software layers that control various aspects of the architecture. While the hardware can often be used to support other software systems, it is the design and the rigorous standardization process of the software architecture that characterizes the Internet.&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
The responsibility for the architectural design of the Internet software systems has been delegated to the Internet Engineering Task Force (IETF). The IETF conducts standard-setting work groups, open to any individual, about the various aspects of Internet architecture. Resulting discussions and final standards are published in Requests for Comments (RFCs), freely available on the IETF web site.&lt;br /&gt;
&lt;br /&gt;
The principal methods of networking that enable the Internet are contained in a series of RFCs that constitute the Internet Standards. These standards describe a system known as the Internet Protocol Suite. This is a model architecture that divides methods into a layered system of protocols (RFC 1122, RFC 1123). The layers correspond to the environment or scope in which their services operate. At the top is the space (Application Layer) of the software application, e.g., a web browser application, and just below it is the Transport Layer which connects applications on different hosts via the network (e.g., client-server model). The underlying network consists of two layers: the Internet Layer which enables computers to connect to one-another via intermediate (transit) networks and thus is the layer that establishes internetworking and the Internet, and lastly, at the bottom, is a software layer that provides connectivity between hosts on the same local link (therefor called Link Layer), e.g., a local area network (LAN) or a dial-up connection. This model is also known as the TCP/IP model of networking. While other models have been developed, such as the Open Systems Interconnection (OSI) model, they are not compatible in the details of description, nor implementation.&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;br /&gt;
&lt;blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
The most prominent component of the Internet model is the Internet Protocol (IP) which provides addressing systems for computers on the Internet and facilitates the internetworking of networks. IP Version 4 (IPv4) is the initial version used on the first generation of the today&#39;s Internet and is still in dominant use. It was designed to address up to ~4.3 billion (109) Internet hosts. However, the explosive growth of the Internet has led to IPv4 address exhaustion. A new protocol version, IPv6, was developed which provides vastly larger addressing capabilities and more efficient routing of data traffic. IPv6 is currently in commercial deployment phase around the world.&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;br /&gt;
&lt;blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
IPv6 is not interoperable with IPv4. It essentially establishes a &quot;parallel&quot; version of the Internet not accessible with IPv4 software. This means software upgrades are necessary for every networking device that needs to communicate on the IPv6 Internet. Most modern computer operating systems are already converted to operate with both versions of the Internet Protocol. Network infrastructures, however, are still lagging in this development.&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;/div&gt;
&lt;table border=&quot;0&quot; style=&quot;margin-left: 0px; margin-right: 0px; text-align: left;&quot;&gt;&lt;tbody&gt;
&lt;tr align=&quot;justify&quot;&gt;
&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://tech4u-tech.blogspot.com/feeds/1464506047491439280/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7284240937102715207/1464506047491439280' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7284240937102715207/posts/default/1464506047491439280'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7284240937102715207/posts/default/1464506047491439280'/><link rel='alternate' type='text/html' href='http://tech4u-tech.blogspot.com/2009/02/internet-protocols.html' title='INTERNET PROTOCOLS'/><author><name>WebGeek</name><uri>http://www.blogger.com/profile/15709794071994627121</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8lqNxWxN1qejReTLTgNwieKGHRrjufBZp8WPcg2Z6r-xEc582Cdx4_7kYlZaecRNXmxn4MB37XtVOqhN8qs-n-XKZBLqvFu7lMciGj2K-DsUJpQ5Y3MNBEf1l12a0Bw/s220/maxresdefault.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7284240937102715207.post-8707294186596141604</id><published>2009-02-04T20:05:00.000-08:00</published><updated>2016-07-09T02:57:43.283-07:00</updated><title type='text'>INTERNET</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;table border=&quot;0&quot; style=&quot;margin-left: 0px; margin-right: 0px; text-align: left;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt; &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;The Internet is a global system of interconnected computer networks that interchange data by packet switching using the standardized Internet Protocol Suite (TCP/IP). It is a &quot;network of networks&quot; that consists of millions of private and public, academic, business, and government networks of local to global scope that are linked by copper wires, fiber-optic cables, wireless connections, and other technologies.&lt;/span&gt;&lt;/span&gt; &lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;The Internet carries various information resources and services, such as electronic mail, online chat, file transfer and file sharing, online gaming, and the inter-linked hypertext documents and other resources of the World Wide Web (WWW).&lt;/span&gt;&lt;/span&gt; &lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;link href=&quot;file:///C:%5CDOCUME%7E1%5CREMEDIES%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml&quot; rel=&quot;File-List&quot;&gt;&lt;/link&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;   &lt;/w:Compatibility&gt;   &lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;  &lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate=&quot;false&quot; latentstylecount=&quot;156&quot;&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt; &lt;!--  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal  {mso-style-parent:&quot;&quot;;  margin:0in;  margin-bottom:.0001pt;  mso-pagination:widow-orphan;  font-size:12.0pt;  font-family:&quot;Times New Roman&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;} h2  {mso-margin-top-alt:auto;  margin-right:0in;  mso-margin-bottom-alt:auto;  margin-left:0in;  mso-pagination:widow-orphan;  mso-outline-level:2;  font-size:18.0pt;  font-family:&quot;Times New Roman&quot;;  font-weight:bold;} p  {mso-margin-top-alt:auto;  margin-right:0in;  mso-margin-bottom-alt:auto;  margin-left:0in;  mso-pagination:widow-orphan;  font-size:12.0pt;  font-family:&quot;Times New Roman&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;} span.mw-headline  {mso-style-name:mw-headline;} @page Section1  {size:8.5in 11.0in;  margin:1.0in 1.25in 1.0in 1.25in;  mso-header-margin:.5in;  mso-footer-margin:.5in;  mso-paper-source:0;} div.Section1  {page:Section1;} --&gt; &lt;/style&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable  {mso-style-name:&quot;Table Normal&quot;;  mso-tstyle-rowband-size:0;  mso-tstyle-colband-size:0;  mso-style-noshow:yes;  mso-style-parent:&quot;&quot;;  mso-padding-alt:0in 5.4pt 0in 5.4pt;  mso-para-margin:0in;  mso-para-margin-bottom:.0001pt;  mso-pagination:widow-orphan;  font-size:10.0pt;  font-family:&quot;Times New Roman&quot;;  mso-ansi-language:#0400;  mso-fareast-language:#0400;  mso-bidi-language:#0400;} &lt;/style&gt; &lt;![endif]--&gt;  &lt;br /&gt;
&lt;h2&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: small;&quot;&gt;&lt;span class=&quot;mw-headline&quot; style=&quot;font-size: x-small;&quot;&gt;Terminology&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;The terms &lt;i&gt;Internet&lt;/i&gt; and &lt;i&gt;World Wide Web&lt;/i&gt; are often used in every-day speech without much distinction. However, the Internet and the World Wide Web are not one and the same. The Internet is a global data communications system. It is a hardware and software infrastructure that provides connectivity between computers. In contrast, the Web is one of the services communicated via the Internet. It is a collection of interconnected documents and other resources, linked by hyperlinks and URLs. &lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; &lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;table border=&quot;0&quot; style=&quot;margin-left: 0px; margin-right: 0px; text-align: left;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://tech4u-tech.blogspot.com/feeds/8707294186596141604/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7284240937102715207/8707294186596141604' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7284240937102715207/posts/default/8707294186596141604'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7284240937102715207/posts/default/8707294186596141604'/><link rel='alternate' type='text/html' href='http://tech4u-tech.blogspot.com/2009/02/internet.html' title='INTERNET'/><author><name>WebGeek</name><uri>http://www.blogger.com/profile/15709794071994627121</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8lqNxWxN1qejReTLTgNwieKGHRrjufBZp8WPcg2Z6r-xEc582Cdx4_7kYlZaecRNXmxn4MB37XtVOqhN8qs-n-XKZBLqvFu7lMciGj2K-DsUJpQ5Y3MNBEf1l12a0Bw/s220/maxresdefault.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7284240937102715207.post-5103486118929605628</id><published>2009-01-08T03:59:00.000-08:00</published><updated>2016-07-09T02:57:03.502-07:00</updated><title type='text'>BLUETOOTH BASICS</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;table border=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr align=&quot;justify&quot;&gt; &lt;td&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;i&gt;Bluetooth&lt;/i&gt; wireless technology is a short-range communications technology intended to replace the cables connecting portable and/or fixed devices while maintaining high levels of security. The key features of &lt;i&gt;Bluetooth&lt;/i&gt; technology are robustness, low power, and low cost. The &lt;i&gt;Bluetooth&lt;/i&gt; specification defines a uniform structure for a wide range of devices to connect and communicate with each other. &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;i&gt;Bluetooth&lt;/i&gt; technology has achieved global acceptance such that any &lt;i&gt;Bluetooth&lt;/i&gt; enabled device, almost everywhere in the world, can connect to other &lt;i&gt;Bluetooth&lt;/i&gt; enabled devices in proximity. &lt;i&gt;Bluetooth&lt;/i&gt; enabled electronic devices connect and communicate wirelessly through short-range, ad hoc networks known as piconets. Each device can simultaneously communicate with up to seven other devices within a single piconet. Each device can also belong to several piconets simultaneously. Piconets are established dynamically and automatically as &lt;i&gt;Bluetooth&lt;/i&gt; enabled devices enter and leave radio proximity.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;A fundamental &lt;i&gt;Bluetooth&lt;/i&gt; wireless technology strength is the ability to simultaneously handle both data and voice transmissions. This enables users to enjoy variety of innovative solutions such as a hands-free headset for voice calls, printing and fax capabilities, and synchronizing PDA, laptop, and mobile phone applications to name a few.&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/blockquote&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://tech4u-tech.blogspot.com/feeds/5103486118929605628/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7284240937102715207/5103486118929605628' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7284240937102715207/posts/default/5103486118929605628'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7284240937102715207/posts/default/5103486118929605628'/><link rel='alternate' type='text/html' href='http://tech4u-tech.blogspot.com/2009/01/bluetooth-basics.html' title='BLUETOOTH BASICS'/><author><name>WebGeek</name><uri>http://www.blogger.com/profile/15709794071994627121</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8lqNxWxN1qejReTLTgNwieKGHRrjufBZp8WPcg2Z6r-xEc582Cdx4_7kYlZaecRNXmxn4MB37XtVOqhN8qs-n-XKZBLqvFu7lMciGj2K-DsUJpQ5Y3MNBEf1l12a0Bw/s220/maxresdefault.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7284240937102715207.post-3870112090046022265</id><published>2007-11-25T11:03:00.001-08:00</published><updated>2009-11-11T00:03:25.878-08:00</updated><title type='text'>FUNNY TECH</title><content type='html'>&lt;table border=&quot;0&quot; bgcolor=&quot;#c0c0c0&quot;&gt;&lt;tr&gt; &lt;td&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3cVL-sPgy6T6YDRODduTZDQZ67ruT-hYTtZlGSRwIwlUgMZW_MNlCxYJFm3Y3H2ZfUXQWHreKQo8qFa7MQmrWzv5GXljyO31k7dmsaNoOOJjLeCTN7SqwcVu8hr8Id-sAKjUWHi0DeLw/s1600-h/its+too+early+in+morning.jpg&quot;&gt;&lt;img id=&quot;BLOGGER_PHOTO_ID_5136855892855201746&quot; style=&quot;DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center&quot; alt=&quot;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3cVL-sPgy6T6YDRODduTZDQZ67ruT-hYTtZlGSRwIwlUgMZW_MNlCxYJFm3Y3H2ZfUXQWHreKQo8qFa7MQmrWzv5GXljyO31k7dmsaNoOOJjLeCTN7SqwcVu8hr8Id-sAKjUWHi0DeLw/s320/its+too+early+in+morning.jpg&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;                                                           It&#39;s Too Early In Morning    &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-nOxCD6hbGBuvNXgAcZoUhZDnUvLUMXGKaf2QwiOxwpzxEalJV0OpLI6437XgRXFFpniQgQ9mCw5eiJjGrl8udegjDmf073GAsMHJUciuvWa1-xUiSC5DK9NOu5J2gEZ-J09QQHQ1kV8/s1600-h/mouse.jpg&quot;&gt;&lt;img id=&quot;BLOGGER_PHOTO_ID_5136855897150169058&quot; style=&quot;DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center&quot; alt=&quot;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-nOxCD6hbGBuvNXgAcZoUhZDnUvLUMXGKaf2QwiOxwpzxEalJV0OpLI6437XgRXFFpniQgQ9mCw5eiJjGrl8udegjDmf073GAsMHJUciuvWa1-xUiSC5DK9NOu5J2gEZ-J09QQHQ1kV8/s320/mouse.jpg&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;                                                               Go2Bed.com&lt;br /&gt;
&lt;div&gt;&lt;/div&gt;&lt;/td&gt; &lt;/tr&gt;
&lt;/table&gt;</content><link rel='replies' type='application/atom+xml' href='http://tech4u-tech.blogspot.com/feeds/3870112090046022265/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7284240937102715207/3870112090046022265' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7284240937102715207/posts/default/3870112090046022265'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7284240937102715207/posts/default/3870112090046022265'/><link rel='alternate' type='text/html' href='http://tech4u-tech.blogspot.com/2007/11/funny-tech.html' title='FUNNY TECH'/><author><name>WebGeek</name><uri>http://www.blogger.com/profile/15709794071994627121</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8lqNxWxN1qejReTLTgNwieKGHRrjufBZp8WPcg2Z6r-xEc582Cdx4_7kYlZaecRNXmxn4MB37XtVOqhN8qs-n-XKZBLqvFu7lMciGj2K-DsUJpQ5Y3MNBEf1l12a0Bw/s220/maxresdefault.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3cVL-sPgy6T6YDRODduTZDQZ67ruT-hYTtZlGSRwIwlUgMZW_MNlCxYJFm3Y3H2ZfUXQWHreKQo8qFa7MQmrWzv5GXljyO31k7dmsaNoOOJjLeCTN7SqwcVu8hr8Id-sAKjUWHi0DeLw/s72-c/its+too+early+in+morning.jpg" height="72" width="72"/><thr:total>0</thr:total></entry></feed>