<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>java interview questions - Wikitechy</title>
	<atom:link href="https://www.wikitechy.com/interview-questions/tag/java-interview-questions/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.wikitechy.com/interview-questions/tag/java-interview-questions/</link>
	<description>Interview Questions</description>
	<lastBuildDate>Sat, 11 Sep 2021 11:45:44 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://www.wikitechy.com/interview-questions/wp-content/uploads/2025/10/cropped-wikitechy-icon-32x32.png</url>
	<title>java interview questions - Wikitechy</title>
	<link>https://www.wikitechy.com/interview-questions/tag/java-interview-questions/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Tarun wants to write code for his computer class homework but he had misheard the teacher and only can recollect remembering this 4 words. Which of the following is what he couldn’t have had heard ?</title>
		<link>https://www.wikitechy.com/interview-questions/programming/tarun-wants-to-write-code-for-his-computer-class-homework-but-he-had-misheard-the-teacher-and-only-can-recollect-remembering-this-4-words-which-of-the-following-is-what-he-couldnt-have-had-h/</link>
					<comments>https://www.wikitechy.com/interview-questions/programming/tarun-wants-to-write-code-for-his-computer-class-homework-but-he-had-misheard-the-teacher-and-only-can-recollect-remembering-this-4-words-which-of-the-following-is-what-he-couldnt-have-had-h/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Fri, 27 Aug 2021 00:17:49 +0000</pubDate>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[c interview questions]]></category>
		<category><![CDATA[c# interview questions and answers for freshers]]></category>
		<category><![CDATA[c++ inheritance practice questions]]></category>
		<category><![CDATA[important questions on inheritance in c++]]></category>
		<category><![CDATA[inheritance interview questions]]></category>
		<category><![CDATA[inheritance interview questions c#]]></category>
		<category><![CDATA[inheritance interview questions java]]></category>
		<category><![CDATA[inheritance output questions in c++]]></category>
		<category><![CDATA[inheritance practice problems]]></category>
		<category><![CDATA[java inheritance interview questions and answers]]></category>
		<category><![CDATA[java inheritance practice exercises]]></category>
		<category><![CDATA[java interview questions]]></category>
		<category><![CDATA[mcq on inheritance in c++ with answers]]></category>
		<category><![CDATA[Most Asked Sapient Nitro Interview Questions]]></category>
		<category><![CDATA[multiple inheritance in c# interview questions]]></category>
		<category><![CDATA[oops interview questions c++]]></category>
		<category><![CDATA[polymorphism interview questions in c#]]></category>
		<category><![CDATA[practical questions on inheritance in c++]]></category>
		<category><![CDATA[problems on inheritance in java]]></category>
		<category><![CDATA[programming exercises on inheritance in java]]></category>
		<category><![CDATA[programming questions on inheritance in c++]]></category>
		<category><![CDATA[programs on inheritance in c++]]></category>
		<category><![CDATA[questions on inheritance in c++]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=2568</guid>

					<description><![CDATA[Answer : A. Distributive]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<p class="color-pink">Tarun wants to write code for his computer class homework but he had misheard the teacher and only can recollect remembering this 4 words. Which of the following is what he couldn’t have had heard?</p>
<div class="row">
<div class="col-sm-6">
<p>A. Distributive</p>
</div>
<div class="col-sm-6">
<p>B. Multilevel</p>
</div>
<div class="col-sm-6">
<p>C. Multiple</p>
</div>
<div class="col-sm-6">
<p>D. Hierarchical</p>
</div>
</div>
</div>
</div>
<h3 id="answer-a-distributive"><b>Answer : </b>A. Distributive</h3>
<div class="subheading">
<h2 id="explanation">Explanation:</h2>
</div>
<div class="subheading">
<h2 id="multiple-inheritance" class="color-green">Multiple Inheritance:</h2>
</div>
<div class="Content">
<div class="hddn">
<ul>
<li>It refers to the concept of one class extending (Or inherits) more than one base class. The inheritance we learnt earlier had the concept of one base class or parent. The problem with “multiple inheritance” is that the derived class will have to manage the dependency on two base classes.</li>
</ul>
</div>
</div>
<div class="ImageContent">
<div class="hddn"><img decoding="async" class="img-responsive center-block" src="https://cdn.wikitechy.com/interview-questions/programming/multiple-inheritance.gif" alt="Multiple Inheritance" /></div>
</div>
<div class="subheading">
<h2 id="multilevel-inheritance" class="color-green">Multilevel Inheritance:</h2>
</div>
<div class="Content">
<div class="hddn">
<ul>
<li>When a class extends a class, which extends anther class then this is called multilevel inheritance. For example class C extends class B and class B extends class A then this type of inheritance is known as multilevel inheritance.</li>
</ul>
</div>
</div>
<div class="ImageContent">
<div class="hddn"><img decoding="async" class="img-responsive center-block" src="https://cdn.wikitechy.com/interview-questions/programming/multi-level-inheritance.jpg" alt="Multilevel Inheritance" /></div>
</div>
<div class="subheading">
<h2 id="hierarchical-inheritance" class="color-green">Hierarchical Inheritance:</h2>
</div>
<div class="Content">
<div class="hddn">
<ul>
<li>When more than one classes inherit a same class then this is called hierarchical inheritance. For example class B, C and D extends a same class A.</li>
</ul>
</div>
</div>
<div class="ImageContent">
<div class="hddn"><img decoding="async" class="img-responsive center-block" src="https://cdn.wikitechy.com/interview-questions/programming/heirarchical-inheritance.jpg" alt="Hierarchical Inheritance" /></div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/programming/tarun-wants-to-write-code-for-his-computer-class-homework-but-he-had-misheard-the-teacher-and-only-can-recollect-remembering-this-4-words-which-of-the-following-is-what-he-couldnt-have-had-h/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>What is class/object diagram ?</title>
		<link>https://www.wikitechy.com/interview-questions/java/what-is-class-object-diagram/</link>
					<comments>https://www.wikitechy.com/interview-questions/java/what-is-class-object-diagram/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Tue, 13 Jul 2021 23:06:29 +0000</pubDate>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Accenture interview questions and answers]]></category>
		<category><![CDATA[Applied Materials interview questions and answers]]></category>
		<category><![CDATA[arraylist java]]></category>
		<category><![CDATA[Atos interview questions and answers]]></category>
		<category><![CDATA[Capgemini interview questions and answers]]></category>
		<category><![CDATA[CASTING NETWORKS INDIA PVT LIMITED interview questions and answers]]></category>
		<category><![CDATA[CGI Group Inc interview questions and answers]]></category>
		<category><![CDATA[Chetu interview questions and answers]]></category>
		<category><![CDATA[Ciena Corporation interview questions and answers]]></category>
		<category><![CDATA[class and object]]></category>
		<category><![CDATA[class and object in java]]></category>
		<category><![CDATA[class to java]]></category>
		<category><![CDATA[Collabera Technologies interview questions and answers]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[difference between class and object]]></category>
		<category><![CDATA[FIS Global Business Solutions India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Flipkart interview questions and answers]]></category>
		<category><![CDATA[IBM interview questions and answers]]></category>
		<category><![CDATA[Indecomm Global Services interview questions and answers]]></category>
		<category><![CDATA[Infosys Technologies interview questions and answers]]></category>
		<category><![CDATA[java class]]></category>
		<category><![CDATA[java class constructor]]></category>
		<category><![CDATA[java class diagram]]></category>
		<category><![CDATA[java class example]]></category>
		<category><![CDATA[java class method]]></category>
		<category><![CDATA[java create class]]></category>
		<category><![CDATA[java interview questions]]></category>
		<category><![CDATA[java programming questions]]></category>
		<category><![CDATA[java questions and answers]]></category>
		<category><![CDATA[L&T Infotech interview questions and answers]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[NetApp interview questions and answers]]></category>
		<category><![CDATA[object class in java]]></category>
		<category><![CDATA[object creation in java]]></category>
		<category><![CDATA[Oracle Corporation interview questions and answers]]></category>
		<category><![CDATA[PeopleStrong interview questions and answers]]></category>
		<category><![CDATA[Persistent Systems interview questions and answers]]></category>
		<category><![CDATA[protected class java]]></category>
		<category><![CDATA[RBS India De interview questions and answers]]></category>
		<category><![CDATA[Reliance Industries Ltd interview questions and answers]]></category>
		<category><![CDATA[SAP Labs India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Tech Mahindra interview questions and answers]]></category>
		<category><![CDATA[types of classes in java]]></category>
		<category><![CDATA[UnitedHealth Group interview questions and answers]]></category>
		<category><![CDATA[Virtusa Consulting Services Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Wells Fargo interview questions and answers]]></category>
		<category><![CDATA[Wipro Infotech interview questions and answers]]></category>
		<category><![CDATA[zycus infotech interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=614</guid>

					<description><![CDATA[Answer : A class is an entity that determines how an object...]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<h2 id="what-is-class-object-diagram" class="color-pink" style="text-align: justify;">What is class/object diagram ?</h2>
</div>
</div>
<div class="TextHeading" style="text-align: justify;">
<div class="hddn">
<h2 id="java-class" class="color-green">Java Class:</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>A class is an entity that determines how an object will perform and what the object will contain.</li>
<li>In other words, it is a blueprint or a set of instruction to build a specific type of object.</li>
</ul>
</div>
</div>
<div class="ImageContent" style="text-align: justify;">
<div class="hddn"><img decoding="async" class="img-responsive center-block aligncenter" src="https://cdn.wikitechy.com/interview-questions/java/java-class-and-object.gif" alt=" Class and Object Diagram" /></div>
</div>
<div class="subheading" style="text-align: justify;">
<h2 id="syntax">Syntax:</h2>
</div>
<div class="CodeContent" style="text-align: justify;">
<div class="hddn">
<figure class="highlight"><div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-java code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-java code-embed-code">class ClassName {<br/>   // variables<br/>   // methods<br/>}</code></pre> </div></figure>
</div>
</div>
<div class="TextHeading" style="text-align: justify;">
<div class="hddn">
<h2 id="java-objects" class="color-green">Java Objects:</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>When class is defined, only the condition for the object is defined.</li>
<li>No memory or storage is allocated.</li>
<li>To access members defined within the class, you need to create objects.</li>
</ul>
</div>
</div>
<div class="subheading" style="text-align: justify;">
<h2 id="syntax-2">Syntax:</h2>
</div>
<div class="CodeContent">
<div class="hddn">
<figure class="highlight" style="text-align: justify;">
<pre><code id="code2" class="hljs javascript" data-lang=""><span class="nt">ClassName ReferenceVariable = <span class="hljs-keyword">new</span> ClassName();</span></code></pre>
</figure>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/java/what-is-class-object-diagram/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
