Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
35% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
3
Posts with Downvotes
3
Downvoting Members
1
1 Commented Post
0 Endorsements
~6K People Reached
Interests
Playing Cricket
PC Specs
XP
Favorite Tags
Member Avatar for AnkitKumar

class Foo { public static void classMethod() { System.out.println("classMethod() in Foo"); } public void instanceMethod() { System.out.println("instanceMethod() in Foo"); } } class Bar extends Foo { public static void classMethod() { System.out.println("classMethod() in Bar"); } public void instanceMethod() { System.out.println("instanceMethod() in Bar"); } } class Test { public static void …

Member Avatar for JamesCherrill
0
116
Member Avatar for AnkitKumar
Member Avatar for AnkitKumar
Member Avatar for AnkitKumar
Member Avatar for AnkitKumar
Member Avatar for AnkitKumar

anybody tell me that java is object oriented or not . some people says that java is pure object oriented or some says it is not object oriented.

Member Avatar for jwenting
1
313
Member Avatar for AnkitKumar

class A { int add() {} } class B extends A { int add() {} } class C extends B { i want to call here A's class method add using A a=(A)this; t.add(); it is possible or not } class D { C c=new C(); }

Member Avatar for masijade
0
60
Member Avatar for AnkitKumar

i want to call there A's class constructor using "super" keyword how it is possible help me plz.....[code]class A {} class B extends A {} class C extends B { i want to call here A's class constructor using "super" keyword how it is possible help me plz..... } class …

Member Avatar for stultuske
0
243
Member Avatar for solomon_13000

Why is the output 10 and not 9?. According to my understanding the count value is assign to b. Then the count value increment. Hence the output should be 9 instead of 10. However in this case the output is 10. Why?. [CODE] package com.nowhere.blogger.core.junit; public class Bunnies { static …

Member Avatar for AnkitKumar
0
197
Member Avatar for AnkitKumar

Dear All I am new in ADO.Net and i am using C#. My problem is I want to execute one trigger in my program I am having name of student in my student table now from my C# program I will pass any name which is in table from textbox …

Member Avatar for AnkitKumar
0
4K
Member Avatar for AnkitKumar

[code=c#] using System; using System.Collections.Generic; using System.Text; namespace selectionsort { class List { public int[] arr = new int[10]; public int[] arr1 = new int[10]; public int n,h1; public void read() { Console.WriteLine("array size should be less than or equal to 10"); Console.Write("enter the array size "); n = Convert.ToInt32(Console.ReadLine()); …

Member Avatar for ddanbe
0
296
Member Avatar for AnkitKumar

[CODE=php]<?php # create PHP array: $php_array = array("one", "two", "three"); # "pass" php array to JS array: echo "<script language='JavaScript'>\n"; echo "var js_array = new Array();\n"; $ix = 0; foreach($php_array as $key => $value) { echo "js_array[$key] = $value;\n"; echo "document.write("Hello Dolly");\n"; } # .....rest of JavaScript..... echo "</script>\n"; ?>[/CODE] …

Member Avatar for ShawnCplus
0
75
Member Avatar for AnkitKumar
Member Avatar for diafol
0
96
Member Avatar for AnkitKumar

how to use popup window in php page for validation give me a example.

Member Avatar for diafol
0
53