Android Java mengubah nilai teks

A text:
TextView myText= (TextView) findViewById(R.id.textview);
       myText.setText("Example of Text");
An image:
ImageView image = (ImageView)  findViewById(R.id.imageid);
       image.setImageResource(R.drawable.imageid2);
DevLorenzo