1. interface DoMath { double getArea(int rad); } interface MathPlus { double getVol(int b, int h); } / Missing Statements ? / which two code fragments inserted at end of the program, will allow to compile? class AllMath extends DoMath { double getArea(int r); } interface AllMath implements MathPlus { double getVol(int x, int y); } interface AllMath extends DoMath { float getAvg(int h, int l); } class AllMath implements MathPlus { double getArea(int rad); } abstract class AllMath implements DoMath, MathPlus { public double getArea(int rad) { return rad rad 3.14; } }





Write Comment

Type in
(Press Ctrl+g to toggle between English and the chosen language)

Comments

Tags
Show Similar Question And Answers
QA->…………….means the annual financial statements and other statements prescribed under Rule 65 of Kerala Panchayat Raj (Accounts) Rules, 2011?....
QA->A program Graph has ‘start’ and ‘end’ nodes. The total number of paths from start to end is equivalent to the -----------set of test data required to test the software.....
QA->In a Program Graph, ‘X’ is an if-then-else node. If the number of paths from start node to X is ‘p’ number of paths from if part to end node is ‘q’ and from else part to end node is ’r’, the total number of possible paths through X is :....
QA->Consider a Program Graph (PG) with statements as nodes and control as edges. Which of the following is not true for any PG?....
QA->Synonym of Compile (v)....
MCQ->interface DoMath { double getArea(int rad); } interface MathPlus { double getVol(int b, int h); } / Missing Statements ? / which two code fragments inserted at end of the program, will allow to compile? class AllMath extends DoMath { double getArea(int r); } interface AllMath implements MathPlus { double getVol(int x, int y); } interface AllMath extends DoMath { float getAvg(int h, int l); } class AllMath implements MathPlus { double getArea(int rad); } abstract class AllMath implements DoMath, MathPlus { public double getArea(int rad) { return rad rad 3.14; } }....
MCQ->interface Base { boolean m1 (); byte m2(short s); } which two code fragments will compile? interface Base2 implements Base {} abstract class Class2 extends Base { public boolean m1(){ return true; }} abstract class Class2 implements Base {} abstract class Class2 implements Base { public boolean m1(){ return (7 > 4); }} abstract class Class2 implements Base { protected boolean m1(){ return (5 > 7) }}....
MCQ-> Have you ever come across a painting, by Picasso, Mondrian, Miro, or any other modern abstract painter of this century, and found yourself engulfed in a brightly coloured canvas which your senses cannot interpret? Many people would tend to denounce abstractionism as senseless trash. These people are disoriented by Miro's bright, fanciful creatures and two- dimensional canvases. They click their tongues and shake their heads at Mondrian's grid works, declaring the poor guy played too many scrabble games. They silently shake their heads in sympathy for Picasso, whose gruesome, distorted figures must be a reflection of his mental health. Then, standing in front of a work by Charlie Russell, the famous Western artist, they'll declare it a work of God. People feel more comfortable with something they can relate to and understand immediately without too much thought. This is the case with the work of Charlie Russell. Being able to recognize the elements in his paintings - trees, horses and cowboys - gives people a safety line to their world of "reality". There are some who would disagree when I say abstract art requires more creativity and artistic talent to produce a good piece than does representational art, but there are many weaknesses in their arguments.People who look down on abstract art have several major arguments to support their beliefs. They feel that artists turn abstract because they are not capable of the technical drafting skills that appear in a Russell; therefore, such artists create an art form that anyone is capable of and that is less time consuming, and then parade it as artistic progress. Secondly, they feel that the purpose of art is to create something of beauty in an orderly, logical composition. Russell's compositions are balanced and rational, everything sits calmly on the canvas, leaving the viewer satisfied that he has seen all there is to see. The modern abstractionists, on the other hand, seem to compose their pieces irrationally. For example, upon seeing Picasso's Guernica, a friend of mine asked me, "What's the point?" Finally, many people feel that art should portray the ideal and real. The exactness of detail in Charlie Russell's work is an example of this. He has been called a great historian because his pieces depict the life style, dress, and events of the times. His subject matter is derived from his own experiences on the trail, and reproduced to the smallest detail.I agree in part with many of these arguments, and at one time even endorsed them. But now, I believe differently. Firstly, I object to the argument that abstract artists are not capable of drafting. Many abstract artists, such as Picasso, are excellent draftsmen. As his work matured, Picasso became more abstract in order to increase the expressive quality of his work. Guernica was meant as a protest against the bombing of that city by the Germans. To express the terror and suffering of the victims more vividly, he distorted the figures and presented them in a black and white journalistic manner. If he had used representational images and colour, much of the emotional content would have been lost and the piece would not have caused the demand for justice that it did. Secondly, I do not think that a piece must be logical and aesthetically pleasing to be art. The message it conveys to its viewers is more important. It should reflect the ideals and issues of its time and be true to itself, not just a flowery, glossy surface. For example, through his work, Mondrian was trying to present a system of simplicity, logic, and rational order. As a result, his pieces did end up looking like a scrabble board.Miro created powerful, surrealistic images from his dreams and subconscious. These artists were trying to evoke a response from society through an expressionistic manner. Finally, abstract artists and representational artists maintain different ideas about 'reality'. To the representational artist, reality is what he sees with his eyes. This is the reality he reproduces on canvas. To the abstract artist, reality is what he feels about what his eyes see. This is the reality he interprets on canvas. This can be illustrated by Mondrian's Trees series. You can actually see the progression from the early recognizable, though abstracted, Trees, to his final Explanation, the grid system.A cycle of abstract and representational art began with the first scratchings of prehistoric man. From the abstractions of ancient Egypt to representational, classical Rome, returning to abstractionism in early Christian art and so on up to the present day, the cycle has been going on. But this day and age may witness its death through the camera. With film, there is no need to produce finely detailed, historical records manually; the camera does this for us more efficiently. Maybe, representational art would cease to exist. With abstractionism as the victor of the first battle, may be a different kind of cycle will be touched off. Possibly, some time in the distant future, thousands of years from now, art itself will be physically non-existent. Some artists today believe that once they have planned and constructed a piece in their mind, there is no sense in finishing it with their hands; it has already been done and can never be duplicated.The author argues that many people look down upon abstract art because they feel that:
 ....
MCQ-> The current debate on intellectual property rights (IPRs) raises a number of important issues concerning the strategy and policies for building a more dynamic national agricultural research system, the relative roles of public and private sectors, and the role of agribusiness multinational corporations (MNCs). This debate has been stimulated by the international agreement on Trade Related Intellectual Property Rights (TRIPs), negotiated as part of the Uruguay Round. TRIPs, for the first time, seeks to bring innovations in agricultural technology under a new worldwide IPR regime. The agribusiness MNCs (along with pharmaceutical companies) played a leading part in lobbying for such a regime during the Uruguay Round negotiations. The argument was that incentives are necessary to stimulate innovations, and that this calls for a system of patents which gives innovators the sole right to use (or sell/lease the right to use) their innovations for a specified period and protects them against unauthorised copying or use. With strong support of their national governments, they were influential in shaping the agreement on TRIPs, which eventually emerged from the Uruguay Round. The current debate on TRIPs in India - as indeed elsewhere - echoes wider concerns about ‘privatisation’ of research and allowing a free field for MNCs in the sphere of biotechnology and agriculture. The agribusiness corporations, and those with unbounded faith in the power of science to overcome all likely problems, point to the vast potential that new technology holds for solving the problems of hunger, malnutrition and poverty in the world. The exploitation of this potential should be encouraged and this is best done by the private sector for which patents are essential. Some, who do not necessarily accept this optimism, argue that fears of MNC domination are exaggerated and that farmers will accept their products only if they decisively outperform the available alternatives. Those who argue against agreeing to introduce an IPR regime in agriculture and encouraging private sector research are apprehensive that this will work to the disadvantage of farmers by making them more and more dependent on monopolistic MNCs. A different, though related apprehension is that extensive use of hybrids and genetically engineered new varieties might increase the vulnerability of agriculture to outbreaks of pests and diseases. The larger, longer-term consequences of reduced biodiversity that may follow from the use of specially bred varieties are also another cause for concern. Moreover, corporations, driven by the profit motive, will necessarily tend to underplay, if not ignore, potential adverse consequences, especially those which are unknown and which may manifest themselves only over a relatively long period. On the other hand, high-pressure advertising and aggressive sales campaigns by private companies can seduce farmers into accepting varieties without being aware of potential adverse effects and the possibility of disastrous consequences for their livelihood if these varieties happen to fail. There is no provision under the laws, as they now exist, for compensating users against such eventualities. Excessive preoccupation with seeds and seed material has obscured other important issues involved in reviewing the research policy. We need to remind ourselves that improved varieties by themselves are not sufficient for sustained growth of yields. in our own experience, some of the early high yielding varieties (HYVs) of rice and wheat were found susceptible to widespread pest attacks; and some had problems of grain quality. Further research was necessary to solve these problems. This largely successful research was almost entirely done in public research institutions. Of course, it could in principle have been done by private companies, but whether they choose to do so depends crucially on the extent of the loss in market for their original introductions on account of the above factors and whether the companies are financially strong enough to absorb the ‘losses’, invest in research to correct the deficiencies and recover the lost market. Public research, which is not driven by profit, is better placed to take corrective action. Research for improving common pool resource management, maintaining ecological health and ensuring sustainability is both critical and also demanding in terms of technological challenge and resource requirements. As such research is crucial to the impact of new varieties, chemicals and equipment in the farmer’s field, private companies should be interested in such research. But their primary interest is in the sale of seed materials, chemicals, equipment and other inputs produced by them. Knowledge and techniques for resource management are not ‘marketable’ in the same way as those inputs. Their application to land, water and forests has a long gestation and their efficacy depends on resolving difficult problems such as designing institutions for proper and equitable management of common pool resources. Public or quasi-public research institutions informed by broader, long-term concerns can only do such work. The public sector must therefore continue to play a major role in the national research system. It is both wrong and misleading to pose the problem in terms of public sector versus private sector or of privatisation of research. We need to address problems likely to arise on account of the public-private sector complementarity, and ensure that the public research system performs efficiently. Complementarity between various elements of research raises several issues in implementing an IPR regime. Private companies do not produce new varieties and inputs entirely as a result of their own research. Almost all technological improvement is based on knowledge and experience accumulated from the past, and the results of basic and applied research in public and quasi-public institutions (universities, research organisations). Moreover, as is increasingly recognised, accumulated stock of knowledge does not reside only in the scientific community and its academic publications, but is also widely diffused in traditions and folk knowledge of local communities all over. The deciphering of the structure and functioning of DNA forms the basis of much of modern biotechnology. But this fundamental breakthrough is a ‘public good’ freely accessible in the public domain and usable free of any charge. Various techniques developed using that knowledge can however be, and are, patented for private profit. Similarly, private corporations draw extensively, and without any charge, on germplasm available in varieties of plants species (neem and turmeric are by now famous examples). Publicly funded gene banks as well as new varieties bred by public sector research stations can also be used freely by private enterprises for developing their own varieties and seek patent protection for them. Should private breeders be allowed free use of basic scientific discoveries? Should the repositories of traditional knowledge and germplasm be collected which are maintained and improved by publicly funded organisations? Or should users be made to pay for such use? If they are to pay, what should be the basis of compensation? Should the compensation be for individuals or (or communities/institutions to which they belong? Should individual institutions be given the right of patenting their innovations? These are some of the important issues that deserve more attention than they now get and need serious detailed study to evolve reasonably satisfactory, fair and workable solutions. Finally, the tendency to equate the public sector with the government is wrong. The public space is much wider than government departments and includes co- operatives, universities, public trusts and a variety of non-governmental organisations (NGOs). Giving greater autonomy to research organisations from government control and giving non- government public institutions the space and resources to play a larger, more effective role in research, is therefore an issue of direct relevance in restructuring the public research system.Which one of the following statements describes an important issue, or important issues, not being raised in the context of the current debate on IPRs?
 ....
MCQ->What will be the output of the program? public abstract class AbstractTest { public int getNum() { return 45; } public abstract class Bar { public int getNum() { return 38; } } public static void main (String [] args) { AbstractTest t = new AbstractTest() { public int getNum() { return 22; } }; AbstractTest.Bar f = t.new Bar() { public int getNum() { return 57; } }; System.out.println(f.getNum() + " " + t.getNum()); } }....
Terms And Service:We do not guarantee the accuracy of available data ..We Provide Information On Public Data.. Please consult an expert before using this data for commercial or personal use
DMCA.com Protection Status Powered By:Omega Web Solutions
© 2002-2017 Omega Education PVT LTD...Privacy | Terms And Conditions