why we need abstract class in java, what is the diff b/w
abstract claas in c++ and abstract class in java
Answer / nikhil naoghare
Abstact classses are those classes which can have abstact as well as Common methods. we use Abstract classes because we want to implement Polymorphism.
Its always good to prefer the abstract class because it will give us the addtional method declaration in the class.
We use Abstract class to enforce some rules to the classes which extends it. For example we can define a class say Car and we can declare methods say Color() Mileage(). This means whatever the class that is derived from Car has to override or give definition for Color() and Mileage() and therefore we are making sure that all the derived classes follows or has the common functionalities. In other way the classes derived from superclass should have common properties. In addition to this the derive class can have its own methods like Type().
In case of Abstract class we can define COMMON functionalities in super class and those can be used in the derived class where as in Interface we cant do that.
| Is This Answer Correct ? | 11 Yes | 3 No |
operation of carrier aided protection and what is the basis for choice of frequncy in powerline carrier system
The Barnes Foundation in Philadelphia has one of the most extra-ordinary and idiosyncratic collections in French impressionist art. Dr. Barnes who put together this collection has insisted that the paintings be hung in a particular manner specified by him at a museum designed by the French architect Paul Philippe Cret who also designed the Rodin Museum. The museum has, say, seven galleries – Eugene Boudin, Cassatt, Boudin, Forain, Gonzales, Manet and Monet. Visitors reach the main Eugene Boudin by an elevator, and they can enter and leave the exhibition only through Eugene Boudin gallery. Once inside, visitors are free to move as they choose. The following list includes all of the doorways that connect the seven galleries: There is a doorway between Eugene Boudin and Cassatt, a doorway between Eugene Boudinand Boudin, and a doorway between Eugene Boudin and Gonzales galleries. There is a doorway between Cassatt and Boudin galleries. There is a doorway between Gonzales and Forain and a doorway between Gonzales and Manet galleries. There is a doorway between Manet and Monet galleries. Which of the following rooms CANNOT be the third gallery that any visitor enters ?
What is the significance of superconductors?
how to implement spiral model on railway reservation?.
Technical Interview Questions – Networking 1. What is an IP address? 2. What is a subnet mask? 3. What is ARP? 4. What is ARP Cache Poisoning? 5. What is the ANDing process? 6. What is a default gateway? What happens if I don't have one? 7. Can a workstation computer be configured to browse the Internet and yet NOT have a default gateway? 8. What is a subnet? 9. What is APIPA? 10. What is an RFC? Name a few if possible (not necessarily the numbers, just the ideas behind them) 11. What is RFC 1918? 12. What is CIDR? 13. You have the following Network ID: 192.115.103.64/27. What is the IP range for your network? 14. You have the following Network ID: 131.112.0.0. You need at least 500 hosts per network. How many networks can you create? What subnet mask will you use? 15. You need to view at network traffic. What will you use? Name a few tools 16. How do I know the path that a packet takes to the destination? 17. What does the ping 192.168.0.1 -l 1000 -n 100 command do? 18. What is DHCP? What are the benefits and drawbacks of using it? 19. Describe the steps taken by the client and DHCP server in order to obtain an IP address. 20. What is the DHCPNACK and when do I get one? Name 2 scenarios. 21. What ports are used by DHCP and the DHCP clients? 22. Describe the process of installing a DHCP server in an AD infrastructure. 23. What is DHCPINFORM? 24. Describe the integration between DHCP and DNS. 25. What options in DHCP do you regularly use for an MS network? 26. What are User Classes and Vendor Classes in DHCP? 27. How do I configure a client machine to use a specific User Class? 28. What is the BOOTP protocol used for, where might you find it in Windows network infrastructure? 29. DNS zones – describe the differences between the 4 types. 30. DNS record types – describe the most important ones. 31. Describe the process of working with an external domain name 32. Describe the importance of DNS to AD. 33. Describe a few methods of finding an MX record for a remote domain on the Internet. 34. What does "Disable Recursion" in DNS mean? 35. What could cause the Forwarders and Root Hints to be grayed out? 36. What is a "Single Label domain name" and what sort of issues can it cause? 37. What is the "in-addr.arpa" zone used for? 38. What are the requirements from DNS to support AD? 39. How do you manually create SRV records in DNS? 40. Name 3 benefits of using AD-integrated zones. 41. What are the benefits of using Windows 2003 DNS when using AD-integrated zones? 42. You installed a new AD domain and the new (and first) DC has not registered its SRV records in DNS. Name a few possible causes. 43. What are the benefits and scenarios of using Stub zones? 44. What are the benefits and scenarios of using Conditional Forwarding? 45. What are the differences between Windows Clustering, Network Load Balancing and Round Robin, and scenarios for each use? 46. How do I work with the Host name cache on a client computer? 47. How do I clear the DNS cache on the DNS server? 48. What is the 224.0.1.24 address used for? 49. What is WINS and when do we use it? 50. Can you have a Microsoft-based network without any WINS server on it? What are the "considerations" regarding not using WINS? 51. Describe the differences between WINS push and pull replications. 52. What is the difference between tombstoning a WINS record and simply deleting it? 53. Name the NetBIOS names you might expect from a Windows 2003 DC that is registered in WINS. 54. Describe the role of the routing table on a host and on a router. 55. What are routing protocols? Why do we need them? Name a few. 56. What are router interfaces? What types can they be? 57. In Windows 2003 routing, what are the interface filters? 58. What is NAT? 59. What is the real difference between NAT and PAT? 60. How do you configure NAT on Windows 2003? 61. How do you allow inbound traffic for specific hosts on Windows 2003 NAT? 62. What is VPN? What types of VPN does Windows 2000 and beyond work with natively? 63. What is IAS? In what scenarios do we use it? 64. What's the difference between Mixed mode and Native mode in AD when dealing with RRAS? 65. What is the "RAS and IAS" group in AD? 66. What are Conditions and Profile in RRAS Policies? 67. What types or authentication can a Windows 2003 based RRAS work with? 68. How does SSL work? 69. How does IPSec work? 70. How do I deploy IPSec for a large number of computers? 71. What types of authentication can IPSec use? 72. What is PFS (Perfect Forward Secrecy) in IPSec? 73. How do I monitor IPSec? 74. Looking at IPSec-encrypted traffic with a sniffer. What packet types do I see? 75. What can you do with NETSH? 76. How do I look at the open ports on my machine?
4 Answers Drasis, iOPEX, TCS, Wipro,
is the RKDF university is aicte approved for b.tech in computer
write program which accept information about 5 student & display same information according to ascending order of their name??
Write a function that responds to a click anywhere on the page by displaying an alert dialog. Display the event name if the user held Shift during the mouse click. Display the element name that triggered the event if the user held Ctrl during the mouse click.
what is the print server
what is need of interface. what is the diff b/w interface and abstract class
what is the differance between a technology and an engineering ?
what is the meaning of vacuum balancing line at glass line or s.s reactor in pharma api industries?
1 Answers Apicore Pharmaceuticals,
Civil Engineering (5086)
Mechanical Engineering (4456)
Electrical Engineering (16639)
Electronics Communications (3918)
Chemical Engineering (1095)
Aeronautical Engineering (239)
Bio Engineering (96)
Metallurgy (361)
Industrial Engineering (259)
Instrumentation (3014)
Automobile Engineering (332)
Mechatronics Engineering (97)
Marine Engineering (124)
Power Plant Engineering (172)
Textile Engineering (575)
Production Engineering (25)
Satellite Systems Engineering (106)
Engineering AllOther (1379)